﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： CarCheckEntity.cs
// 项目名称：斑马车务
// 创建时间：2019-10-12
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
	/// <summary>
	///年检表数据实体  
	/// </summary>
    [PrimaryKey("CarCheckID")]
	public class CarCheck
	{
		///<summary>
		///年检表
		///</summary>
		public CarCheck()
		{
		}	
    
		
		///<summary>
		///主键
		///</summary>
        [Column("CarCheckID","主键")]
        public int CarCheckID { get; set; }

		///<summary>
		///当前年检日期
		///</summary>
        [Column("CheckDate","当前年检日期")]
        public DateTime CheckDate { get; set; }

		///<summary>
		///下次年检日期
		///</summary>
        [Column("NextCheckDate","下次年检日期")]
        public DateTime NextCheckDate { get; set; }

		///<summary>
		///创建时间
		///</summary>
        [Column("CreatedDate","创建时间")]
        public DateTime CreatedDate { get; set; }

		///<summary>
		///逻辑标识(1有效0无效)
		///</summary>
        [Column("IsActive","逻辑标识(1有效0无效)")]
        public int IsActive { get; set; }

		///<summary>
		///行驶证ID
		///</summary>
        [Column("VehicleLicenseID","行驶证ID")]
        public int VehicleLicenseID { get; set; }

		///<summary>
		///载客类型（1：七座以下，2：七座及七座以上）
		///</summary>
        [Column("TotalPassengerType","载客类型（1：七座以下，2：七座及七座以上）")]
        public int TotalPassengerType { get; set; }

		///<summary>
		///未发生过致人伤亡事故，0：否，1：是
		///</summary>
        [Column("NoAcident","未发生过致人伤亡事故，0：否，1：是")]
        public int NoAcident { get; set; }

	}
}